package bairui.international.controller.college.category.college;

import com.sh_lianjing.spring.web.controller.enhance.module.*;
import com.sh_lianjing.spring.web.controller.enhance.module.body.*;
import com.sh_lianjing.spring.web.controller.enhance.output.bean.*;
import bairui.international.controller.college.category.college.C_CollegeCollege_Page_Page;
import bairui.international.controller.college.category.college.C_CollegeCollege_Add_AddAccess;
import bairui.international.controller.college.category.college.C_CollegeCollege_Edit_EditAccess;
import bairui.international.controller.college.category.college.C_CollegeCollege_Delete_Delete;
import bairui.international.controller.college.category.college.C_CollegeCollege_Publish_Submit;
import bairui.international.controller.college.category.college.C_CollegeCollege_Up_Submit;
import bairui.international.controller.college.category.college.C_CollegeCollege_Down_Submit;

/**
 *
 * Module_Page
 *
 */
class Module_Page{

	/**
	 * 分页模块
	 */
	public Module module(
		com.sh_lianjing.spring.web.controller.enhance.module.feature.PageModuleFeatureSupport moduleFeature,
		C_CollegeCollege_Page_Page.Page.Operate c_CollegeCollege_Page_Page_Page_Operate
	,	C_CollegeCollege_Add_AddAccess.AddAccess.Operate c_CollegeCollege_Add_AddAccess_AddAccess_Operate
	,	C_CollegeCollege_Edit_EditAccess.EditAccess.Operate c_CollegeCollege_Edit_EditAccess_EditAccess_Operate
	,	C_CollegeCollege_Delete_Delete.Delete.Operate c_CollegeCollege_Delete_Delete_Delete_Operate
	,	C_CollegeCollege_Publish_Submit.Submit.Operate c_CollegeCollege_Publish_Submit_Submit_Operate
	,	C_CollegeCollege_Up_Submit.Submit.Operate c_CollegeCollege_Up_Submit_Submit_Operate
	,	C_CollegeCollege_Down_Submit.Submit.Operate c_CollegeCollege_Down_Submit_Submit_Operate
	){
		return
			new Module(
					new ModuleHead("列表")
						.addOperate(
							c_CollegeCollege_Add_AddAccess_AddAccess_Operate
								.defaultComment("添加")
								.defaultTarget(com.sh_lianjing.spring.web.controller.base.operate.OperateTarget.Popup)
						)
					, 
					new PageModuleBody(
							moduleFeature,
							Page_OutputInfo.outputInfo(),
							new PageFilterInfo(
									Page_BaseFilter.info(), 
									Page_OutputInfo.pageInfo(), 
									Page_OutputInfo.orderInfo()
								),
							c_CollegeCollege_Page_Page_Page_Operate
						)
						.addListOperate(
							c_CollegeCollege_Edit_EditAccess_EditAccess_Operate
								.defaultComment("详情")
								.defaultTarget(com.sh_lianjing.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.addListOperate(
							c_CollegeCollege_Delete_Delete_Delete_Operate
								.defaultComment("删除")
						)
						.addListOperate(
							c_CollegeCollege_Publish_Submit_Submit_Operate
								.defaultComment("发布")
						)
						.addListOperate(
							c_CollegeCollege_Up_Submit_Submit_Operate
								.defaultComment("上架")
						)
						.addListOperate(
							c_CollegeCollege_Down_Submit_Submit_Operate
								.defaultComment("下架")
						)
						.setIdentifier("id")
				);
	}
	
	public Module module(
		C_CollegeCollege_Page_Page.Page.Operate c_CollegeCollege_Page_Page_Page_Operate
	,	C_CollegeCollege_Add_AddAccess.AddAccess.Operate c_CollegeCollege_Add_AddAccess_AddAccess_Operate
	,	C_CollegeCollege_Edit_EditAccess.EditAccess.Operate c_CollegeCollege_Edit_EditAccess_EditAccess_Operate
	,	C_CollegeCollege_Delete_Delete.Delete.Operate c_CollegeCollege_Delete_Delete_Delete_Operate
	,	C_CollegeCollege_Publish_Submit.Submit.Operate c_CollegeCollege_Publish_Submit_Submit_Operate
	,	C_CollegeCollege_Up_Submit.Submit.Operate c_CollegeCollege_Up_Submit_Submit_Operate
	,	C_CollegeCollege_Down_Submit.Submit.Operate c_CollegeCollege_Down_Submit_Submit_Operate
	){
		return this.module(
				null,
				c_CollegeCollege_Page_Page_Page_Operate
	,			c_CollegeCollege_Add_AddAccess_AddAccess_Operate
	,			c_CollegeCollege_Edit_EditAccess_EditAccess_Operate
	,			c_CollegeCollege_Delete_Delete_Delete_Operate
	,			c_CollegeCollege_Publish_Submit_Submit_Operate
	,			c_CollegeCollege_Up_Submit_Submit_Operate
	,			c_CollegeCollege_Down_Submit_Submit_Operate
			);
	}
	
	
	/**
	 * 输出模型
	 */
	

}
